package com.ruoyi.xz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品图片对象 xz_laptop_pic
 * 
 * @author DongNan
 * @date 2024-06-29
 */
public class LaptopPic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private Long id;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private Long laptopId;

    /** 小图片 */
    @Excel(name = "小图片")
    private String sm;

    /** 中图片 */
    @Excel(name = "中图片")
    private String md;

    /** 大图片 */
    @Excel(name = "大图片")
    private String lg;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLaptopId(Long laptopId) 
    {
        this.laptopId = laptopId;
    }

    public Long getLaptopId() 
    {
        return laptopId;
    }
    public void setSm(String sm) 
    {
        this.sm = sm;
    }

    public String getSm() 
    {
        return sm;
    }
    public void setMd(String md) 
    {
        this.md = md;
    }

    public String getMd() 
    {
        return md;
    }
    public void setLg(String lg) 
    {
        this.lg = lg;
    }

    public String getLg() 
    {
        return lg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("laptopId", getLaptopId())
            .append("sm", getSm())
            .append("md", getMd())
            .append("lg", getLg())
            .toString();
    }
}
